 /*  SAS Data Definition File                        */
 /*  Created by ddltox on Mar 28, 2002  (Thu 03:30 PM PST)  */
 /*  DDL source file: "/u/d7/big/sda_1.2a/tmpdir/AAG0aOgs.txt".  */

/* DDL indicates that dataset record length (reclen) is 82 columns. */

TITLE "ORANGE COUNTY ANNUAL SURVEY";
FILENAME INDATA "    ";      /* Put name of data file between quotes */
LIBNAME LIBRARY "    ";    /* Put directory of data library between quotes */

PROC  FORMAT LIB=LIBRARY;
  VALUE Q1f       1='SINGLE FAMILY' 2='TOWNHOUSE' 3='APARTMENT' 4='MOBILE' 
                  5='OTHER' 9='REFUSE' ;
  VALUE Q2f       1='0-2 YRS' 2='3-5 YRS' 3='6-10 YRS' 4='11-20 YRS' 
                  5='21+ YRS' 9='REFUSE' ;
  VALUE Q3f       1='0-2 YRS' 2='3-5 YRS' 3='6-10 YRS' 4='11-20 YRS' 
                  5='21+ YRS' 9='REFUSE' ;
  VALUE Q4f       1='OWN' 2='RENT' 9='DK, REFUSE' ;
  VALUE Q5f       1='UNDER $500' 2='$501-$750' 3='$751-$1,000' 
                  4='$1,001-$1,500' 5='$1,501+' 9='DK, REFUSE' ;
  VALUE Q6f       1='NOTHING' 2='$1-$500' 3='$501-$750' 4='$751-$1,000' 
                  5='$1,001-$1,500' 6='$1,501-$2,000' 7='$2,001+' 
                  9='DK, REFUSE' ;
  VALUE Q7f       1='BETTER OFF' 2='WORSE OFF' 3='SAME' 8='D' 9='DK, REFUSE' ;
  VALUE Q8f       1='BETTER OFF' 2='WORSE OFF' 3='SAME' 8='DK' 9='REFUSE' ;
  VALUE Q9f       1='GOOD TIMES' 2='BAD TIMES' 8='DK' 9='REFUSE' ;
  VALUE Q10f      1='GOOD TIMES' 2='DEPRESSION' 8='DK' 9='REFUSE' ;
  VALUE Q11f      1='GOOD TIME' 2='BAD TIME' 8='NEITHER, DK' 9='REFUSE' ;
  VALUE Q12f      1='VERY WELL' 2='SOMEWHAT WELL' 3='SOMEWHAT BADLY' 
                  4='VERY BADLY' 8='D' 9='DK, REFUSE' ;
  VALUE Q13f      1='POP. GROWTH' 2='TRAFFIC' 3='HOUSING' 4='CRIME' 
                  5='QUAL. OF SCHOOLS' 6='IMMIGRATION' 7='OTHER' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q14f      1='HEALTH CARE' 2='CHILD CARE' 3='RACE RELATIONS' 
                  4='HOMELESS' 5='DRUG ABUSE' 6='AIDS' 7='OTHER' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q15f      1='BETTER PLACE' 2='WORSE PLACE' 3='NO CHANGE' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q17f      1='RAPID' 2='SLOW' 3='ABOUT THE SAME' 4='LOSING POP.' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q18f      1='RAPID' 2='SLOW' 3='ABOUT THE SAME' 4='LOSING POP.' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q19f      1='TOO STRICT' 2='ABOUT RIGHT' 3='NOT STRICT ENOUGH' 8='DK' 
                  9='REFUSE' ;
  VALUE Q20f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q21f      1='RAPID' 2='SLOW' 3='ABOUT THE SAME' 4='LOSING POP.' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q22f      1='RAPID' 2='SLOW' 3='ABOUT THE SAME' 4='LOSING POP.' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q23f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q24f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q25f      1='FREEWAYS' 2='THOROUGHFARES' 3='LOCAL STREETS' 
                  4='MORE THAN ONE' 5='NONE' 8='DK' 9='REFUSE' ;
  VALUE Q26f      1='HIGHER HOUSE PRICES' 2='LOSS OF JOBS' 3='WORSE TRAFFIC' 
                  4='HIGHER GOVT COSTS' 5='OTHER' 6='NONE' 7='MORE THAN ONE' 
                  8='DK' 9='REFUSE' ;
  VALUE Q27f      1='CITY GOVT' 2='COUNTY GOVT' 3='STATE GOVT' 
                  4='REGIONAL AUTHORITY' 5='OTHER' 8='DK' 9='REFUSE' ;
  VALUE Q28f      1='SATISFACTORY' 2='MORE LANES ONLY' 3='NEW FREEWAYS' 8='D' 
                  9='DK, REFUSE' ;
  VALUE Q56f      1='FOR INCREASE' 2='AGAINST INCREASE' 8='DK' 9='REFUSE' ;
  VALUE Q57f      1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 8='DK' 9='REFUSE' ;
  VALUE Q64f      1='NOTHING' 2='$1-$100' 3='$101-$250' 4='$251-$500' 
                  5='$501-$999' 6='$1,000+' 8='D' 9='DK, REFUSE' ;
  VALUE Q65f      1='FULL-TIME' 2='PART-TIME' 3='NOT EMPLOYED' 9='REFUSE' ;
  VALUE Q66f      -9='NA' 1='NORTH' 2='WEST' 3='CENTRAL' 4='SOUTH' 
                  5='OUTSIDE OC' ;
  VALUE Q67f      1='YES' 2='NO' 9='REFUSE' ;
  VALUE Q68f      1='18-24' 2='25-34' 3='35-44' 4='45-54' 5='55-64' 6='65+' 
                  9='REFUSE' ;
  VALUE Q69f      1='LESS THAN H.S.' 2='H.S. GRADUATE' 3='SOME COLLEGE' 
                  4='COLLEGE GRAD' 5='POST GRADUATE' 9='REFUSE' ;
  VALUE Q70f      8='8+' 9='REFUSE' ;
  VALUE Q71f      9='NONE, REFUSE' ;
  VALUE Q72f      1='NORTH' 2='WEST' 3='CENTRAL' 4='SOUTH' 9='NA' ;
  VALUE Q73f      1='MARRIED' 2='DIVORCED' 3='WIDOWED' 4='SINGLE' 9='REFUSE' ;
  VALUE Q74f      1='YES' 2='NO' 9='REFUSE' ;
  VALUE Q75f      1='YES' 2='NO' 9='DK, REFUSE' ;
  VALUE Q76f      1='YES' 2='NO' 9='DK, REFUSE' ;
  VALUE Q77f      1='YES' 2='NO' 9='DK, REFUSE' ;
  VALUE Q78f      1='YES' 2='NO' 9='DK, REFUSE' ;
  VALUE Q79f      1='AT HOME, PAID' 2='OUTSIDE, PAID' 3='AT HOME, UNPAID' 
                  4='OUTSIDE, UNPAID' 5='NOT USING' 9='DK, REFUSE' ;
  VALUE Q80f      1='VERY SATISFIED' 2='SOMEWHAT SATISFIED' 
                  3='SOMEWHAT DISSAT.' 4='VERY DISSAT.' 9='DK, REFUSE' ;
  VALUE Q81f      1='VERY SATISFIED' 2='SOMEWHAT SATISFIED' 
                  3='SOMEWHAT DISSAT.' 4='VERY DISSAT.' 9='DK, REFUSE' ;
  VALUE Q82f      1='A LOT' 2='SOME' 3='A LITTLE' 4='NONE' 9='DK, REFUSE' ;
  VALUE Q83f      1='UNDER $25K' 2='$25,000-$35,999' 3='$36,000-$50,000' 
                  4='$50,001-$65,999' 5='$66,000-$80,000' 6='$80,000+' 
                  9='REFUSE' ;
  VALUE Q84f      1='DEMOCRAT' 2='REPUBLICAN' 3='OTHER' 4='NOT REGISTERED' 
                  9='REFUSE' ;
  VALUE Q85f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q86f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q87f      1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE Q88f      1='LIBERAL' 2='MODERATE' 3='CONSERVATIVE' 9='DK, REFUSE' ;
  VALUE Q89f      1='YES' 2='NO' 9='REFUSE' ;
  VALUE Q90f      1='MALE' 2='FEMALE' ;
  VALUE YEAR      1988='YEAR OF SURVEY' ;
RUN;

DATA IN (LABEL="ORANGE COUNTY ANNUAL SURVEY");
  INFILE INDATA LRECL=82;
  INPUT
    #1  CASEID 1-4              Q1 5                    Q2 6                    
        Q3 7                    Q4 8                    Q5 9                    
        Q6 10                   Q7 11                   Q8 12                   
        Q9 13                   Q10 14                  Q11 15                  
        Q12 16                  Q13 17                  Q14 18                  
        Q15 19                  Q17 20                  Q18 21                  
        Q19 22                  Q20 23                  Q21 24                  
        Q22 25                  Q23 26                  Q24 27                  
        Q25 28                  Q26 29                  Q27 30                  
        Q28 31                  Q56 32                  Q57 33                  
        Q64 34                  Q65 35                  Q66 36-37               
        Q67 38                  Q68 39                  Q69 40                  
        Q70 41                  Q71 42                  Q72 43-44               
        Q73 45                  Q74 46                  Q75 47                  
        Q76 48                  Q77 49                  Q78 50                  
        Q79 51                  Q80 52                  Q81 53                  
        Q82 54                  Q83 55                  Q84 56                  
        Q85 57                  Q86 58                  Q87 59                  
        Q88 60                  Q89 61                  Q90 62                  
        WEIGHT 63-70 .2         WT 71-78 .2             YEAR 79-82              
        ;

  LABEL
   CASEID  = 'CASE ID'
   Q1      = 'TYPE OF CURRENT RESIDENCE'
   Q2      = 'HOW LONG LIVE IN OC'
   Q3      = 'HOW LONG LIVE AT CURRENT RESIDENCE'
   Q4      = 'OWN/RENT PRESENT RESIDENCE'
   Q5      = 'MONTHLY RENTAL PAYMENT'
   Q6      = 'MONTHLY MORTGAGE PAYMENT'
   Q7      = 'BETTER OFF/WORSE OFF/SAME LAST YEAR'
   Q8      = 'BETTER OFF/WORSE OFF/SAME NEXT YEAR'
   Q9      = 'GOOD TIMES/BAD TIMES FINANCIALLY'
   Q10     = 'CONT. GOOD TIMES NEXT 5 YEARS'
   Q11     = 'GD/BAD TIME TO BUY MAJ. HSEHOLD ITEMS'
   Q12     = 'QUALITY OF LIFE IN OC'
   Q13     = 'MOST SERIOUS PUBLIC POLICY PROBLEM'
   Q14     = 'MOST SERIOUS SOCIAL PROBLEM'
   Q15     = 'OC IN FUTURE'
   Q17     = 'RATE OF GROWTH IN CITY'
   Q18     = 'PREF. FOR GROWTH IN CITY'
   Q19     = 'CURRENT GROWTH REGS. IN CITY'
   Q20     = 'VOTE ON SLOW GROWTH IN CITY'
   Q21     = 'RATE OF GROWTH IN COUNTY'
   Q22     = 'PREF. FOR GROWTH IN COUNTY'
   Q23     = 'VOTE ON SLOW GROWTH IN COUNTY'
   Q24     = 'RD IMPRVMTS SATISFY GROWTH CONCERNS'
   Q25     = 'MOST NEEDED ROAD IMPRVMTS'
   Q26     = 'BIGGEST DRAWBACK OF GROWTH CONTROL'
   Q27     = 'WHO SHD MANAGE GROWTH & TRAFFIC'
   Q28     = 'FEELING ABOUT FREEWAYS IN OC'
   Q56     = 'TAX INCREASE FOR SCHOOLS'
   Q57     = 'QUALITY OF LOCAL PUBLIC SCHOOLS'
   Q64     = '$ GAVE TO ALL CHARITIES LAST YR.'
   Q65     = 'WORK STATUS'
   Q66     = 'WORKPLACE'
   Q67     = 'TAKE FWY TO WORK'
   Q68     = 'AGE'
   Q69     = 'EDUCATION'
   Q70     = 'NUMBER OF PERSONS IN HOUSEHOLD'
   Q71     = 'NUMBER OF FULL TIME WORKERS IN HHOLD'
   Q72     = 'RESIDENCE'
   Q73     = 'MARITAL STATUS'
   Q74     = 'CHILDREN UNDER 18 IN HOUSEHOLD'
   Q75     = 'CHILDREN IN PRE-SCHOOL'
   Q76     = 'CHILDREN IN K-12 PUBLIC SCHOOL'
   Q77     = 'CHILDREN IN K-12 PRIVATE SCHOOL'
   Q78     = 'CHILDREN IN HHOLD WHO NEED DAYCARE'
   Q79     = 'TYPE OF DAY CARE CURRENTLY USING'
   Q80     = 'SATIS. W/ CURRENT DAY CARE QUALITY'
   Q81     = 'SATIS. W/ CURRENT DAY CARE CONVENIENCE'
   Q82     = 'FINANCIAL BURDEN OF DAY CARE ON HHOLD'
   Q83     = 'HOUSEHOLD INCOME'
   Q84     = 'PARTY REGISTRATION'
   Q85     = 'VOTE ON UNIVERSITY CONSTRUCTION BOND'
   Q86     = 'VOTE ON SCHOOL FACILITY BOND'
   Q87     = 'VOTE ON SCHOOL FUNDING INITIATIVE'
   Q88     = 'CONSIDER YOURSELF POLITICALLY:'
   Q89     = 'WILLING TO BE REINTERVIEWED'
   Q90     = 'SEX'
   WEIGHT  = 'WEIGHT'
   WT      = 'WT'
   YEAR    = 'YEAR OF SURVEY'  ;
  FORMAT Q1 Q1f. Q2 Q2f. Q3 Q3f. 
         Q4 Q4f. Q5 Q5f. Q6 Q6f. 
         Q7 Q7f. Q8 Q8f. Q9 Q9f. 
         Q10 Q10f. Q11 Q11f. Q12 Q12f. 
         Q13 Q13f. Q14 Q14f. Q15 Q15f. 
         Q17 Q17f. Q18 Q18f. Q19 Q19f. 
         Q20 Q20f. Q21 Q21f. Q22 Q22f. 
         Q23 Q23f. Q24 Q24f. Q25 Q25f. 
         Q26 Q26f. Q27 Q27f. Q28 Q28f. 
         Q56 Q56f. Q57 Q57f. Q64 Q64f. 
         Q65 Q65f. Q66 Q66f. Q67 Q67f. 
         Q68 Q68f. Q69 Q69f. Q70 Q70f. 
         Q71 Q71f. Q72 Q72f. Q73 Q73f. 
         Q74 Q74f. Q75 Q75f. Q76 Q76f. 
         Q77 Q77f. Q78 Q78f. Q79 Q79f. 
         Q80 Q80f. Q81 Q81f. Q82 Q82f. 
         Q83 Q83f. Q84 Q84f. Q85 Q85f. 
         Q86 Q86f. Q87 Q87f. Q88 Q88f. 
         Q89 Q89f. Q90 Q90f. YEAR YEAR. 
          ;

/* md, min and max specifications were translated  */
/* into the following "IF" statements:           */

IF (Q1 = 9) THEN Q1 = .;
IF (Q2 = 9) THEN Q2 = .;
IF (Q3 = 9) THEN Q3 = .;
IF (Q4 = 9) THEN Q4 = .;
IF (Q5 = 9) THEN Q5 = .;
IF (Q6 = 9) THEN Q6 = .;
IF (Q7 = 9) THEN Q7 = .;
IF (Q8 = 9) THEN Q8 = .;
IF (Q9 = 9) THEN Q9 = .;
IF (Q10 = 9) THEN Q10 = .;
IF (Q11 = 9) THEN Q11 = .;
IF (Q12 = 9) THEN Q12 = .;
IF (Q13 = 9) THEN Q13 = .;
IF (Q14 = 9) THEN Q14 = .;
IF (Q15 = 9) THEN Q15 = .;
IF (Q17 = 9) THEN Q17 = .;
IF (Q18 = 9) THEN Q18 = .;
IF (Q19 = 9) THEN Q19 = .;
IF (Q20 = 9) THEN Q20 = .;
IF (Q21 = 9) THEN Q21 = .;
IF (Q22 = 9) THEN Q22 = .;
IF (Q23 = 9) THEN Q23 = .;
IF (Q24 = 9) THEN Q24 = .;
IF (Q25 = 9) THEN Q25 = .;
IF (Q26 = 9) THEN Q26 = .;
IF (Q27 = 9) THEN Q27 = .;
IF (Q28 = 9) THEN Q28 = .;
IF (Q56 = 9) THEN Q56 = .;
IF (Q57 = 9) THEN Q57 = .;
IF (Q64 = 9) THEN Q64 = .;
IF (Q65 = 9) THEN Q65 = .;
IF (Q66 = -9) THEN Q66 = .;
IF (Q67 = 9) THEN Q67 = .;
IF (Q68 = 9) THEN Q68 = .;
IF (Q69 = 9) THEN Q69 = .;
IF (Q70 = 9) THEN Q70 = .;
IF (Q71 = 9) THEN Q71 = .;
IF (Q73 = 9) THEN Q73 = .;
IF (Q74 = 9) THEN Q74 = .;
IF (Q75 = 9) THEN Q75 = .;
IF (Q76 = 9) THEN Q76 = .;
IF (Q77 = 9) THEN Q77 = .;
IF (Q78 = 9) THEN Q78 = .;
IF (Q79 = 9) THEN Q79 = .;
IF (Q80 = 9) THEN Q80 = .;
IF (Q81 = 9) THEN Q81 = .;
IF (Q82 = 9) THEN Q82 = .;
IF (Q83 = 9) THEN Q83 = .;
IF (Q84 = 9) THEN Q84 = .;
IF (Q85 = 9) THEN Q85 = .;
IF (Q86 = 9) THEN Q86 = .;
IF (Q87 = 9) THEN Q87 = .;
IF (Q88 = 9) THEN Q88 = .;
IF (Q89 = 9) THEN Q89 = .;

PROC DATASETS;
  CONTENTS DATA=IN POSITION;
  TITLE 'CONTENTS OF ALL VARIABLES';
RUN;
